<?php
/**
 * Created by PhpStorm.
 * User: JinLei
 * Date: 2018/1/29
 * Time: 15:31
 */
namespace Home\Model;
use Think\Model;
class OptionsModel extends Model{
    /**
     * @param $questId
     * @return mixed
     * 获取问题信息
     */
    public function getOptions($questId){
        $where['questionid'] = $questId;
        return $this->where($where)->select();
    }
}